<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE HTML>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta name="robots" content="all" />
        <meta name="author" content="">
        <meta name="keywords" content="">
        <meta name="description" content="">
        <title>SuiRich</title>
        <jsp:include page="../commons/header.jsp"></jsp:include>
    </head>
    <body>
        <jsp:include page="../commons/menu.jsp"></jsp:include>
		<!-- main -->
		<div class="mainCnt products clearfix">
			<div class="cur clearfix">
				<h2 class="categories fl">Product Categories &gt; <span id="productPath"></span></h2>
				<a href="javascript:void(0);" class="btnBack fr" onclick="history.back()">BACK</a> 
			</div>
			<div class="menu">
                <dl class="" id="categoriesTree">
                </dl>
			</div>
			<div class="wrap_product">
				<div class="productDtail">
					<div class="wrap_detailPic clearfix" id="gallery">
						<span class="fl">
							<img id="productImage" src=""/>
						</span>
                        <h4><label>Part No.&nbsp;:&nbsp;</label><span class="h4cnt" id="productNumber"></span></h4>
                        <h4><label>Name&nbsp;:&nbsp;</label><span class="h4cnt" id="productName"></span></h4>
                        <h4><label>Spec.&nbsp;:&nbsp;</label><span class="h4cnt" id="productSpec"></span></h4>
					</div>
					<div class="productIntro" id="productReadmeInfo">
					</div>
				</div>
			</div>
		</div>
        <jsp:include page="../commons/footer.jsp"></jsp:include>

        <script type="text/javascript">
            var productId = <%=request.getAttribute("productId")%>;

            product.detailInfo(productId);
            
            product.categoriesListTree("categoriesTree");

            $('.menu dt,.menu dd').live('click',function(){
                $(this).addClass('selected').siblings().removeClass('selected');
            });
        </script>
    </body>
</html>
